import React from "react";
import { Provider } from "react-redux";
import { RouterProvider } from "react-router-dom";

import ReactDOM from "react-dom/client";

import App from "./App.tsx";

import router from "@/router/index.tsx";
import store from "@/store/index.tsx";
import "normalize.css";
import "@/styles/index.scss";
ReactDOM.createRoot(document.getElementById("root")!).render(
  <React.StrictMode>
    <Provider store={store}>
      <App>
        <RouterProvider router={router} />
      </App>
    </Provider>
  </React.StrictMode>
);
